package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 领用申请表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_REQUISITION_DTL")
@ApiModel(value="OverseaRequisitionDtl对象", description="领用申请表明细")
public class OverseaRequisitionDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "领用申请明细表自增ID")
    @TableId(value = "AUTO_ID_REQUISITION_DTL", type = IdType.AUTO)
    private Integer autoIdRequisitionDtl;

    @ApiModelProperty(value = "领用申请UUID")
    @TableField("UUID_REQUISITION")
    private String uuidRequisition;

    @ApiModelProperty(value = "明细行号")
    @TableField("ITEM")
    private Integer item;

    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "车间代码")
    @TableField("WORKSHOP_CODE")
    private String workshopCode;

    @ApiModelProperty(value = "仓库地点代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "申请基本单位数量")
    @TableField("APPLY_QTY_BASIC_UNIT")
    private Double applyQtyBasicUnit;

    @ApiModelProperty(value = "实际基本单位数量")
    @TableField("ACTUAL_QTY_BASIC_UNIT")
    private Double actualQtyBasicUnit;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "申请销售单位数量")
    @TableField("APPLY_QTY_UNIT_SALES")
    private Double applyQtyUnitSales;

    @ApiModelProperty(value = "实际销售单位数量")
    @TableField("ACTUAL_QTY_UNIT_SALES")
    private Double actualQtyUnitSales;

    @ApiModelProperty(value = "销售单位")
    @TableField("UNIT_SALES")
    private String unitSales;

    @ApiModelProperty(value = "明细备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "储位信息")
    @TableField("STORAGE_INFO")
    private String storageInfo;

    @ApiModelProperty(value = "申请物料移动类型")
    @TableField("MOVEMENT_TYPE")
    private String movementType;

    @ApiModelProperty(value = "实际移动类型(生成出库任务时)")
    @TableField("ACTUAL_MOVEMENT_TYPE")
    private String actualMovementType;


}
